var name = prompt("昵称");
var password = prompt("密码");
var rePassword = prompt("确认密码");
var sex = prompt("性别");
var age = prompt("年龄");
var add = prompt("地址");
var visity = prompt("验证码");
var tel = prompt("手机");
    if(age <18 ){
        age = "未成年";
    }else if(18 <= age < 30){
    	age = "青年";
    }else if(30 <= age < 60 ){
    	age = '中年';
    }else{
    	age = "老年";
    }
var str ="昵称：" +name+"<br/> 密码："+password+"<br/> 确认密码 ；"+rePassword+"<br/> 性别："+sex+"<br/> 年龄 ："+age+"<br/> 地址："+add+"<br/> 验证码："+visity+"<br/> 手机："+tel;
document.write(str);



